import request from '@/utils/request'

// 查询中奖记录
export function getRewardRecord(data) {
  return request({
    url: `/admin/hit/list?current=${data.pageNum}&pageSize=${data.pageSize}&activityCode=${data.activityCode}&rewardId=${data.rewardId}&status=${data.status}&start=${data.start}&end=${data.end}&provinceId=${data.provinceId}&cityId=${data.cityId}&areaId=${data.areaId}`,
    method: 'get'
  })
}
// 奖品补发
export function getRewardReissue(data) {
  return request({
    url: `/admin/hit/prize/resend?hitRecordIds=${data.hitRecordIds}`
  })
}
//获取大奖选择列表/admin/activity/dict/getHnReward
export function getRewardLists(data) {
  return request({
    url: `/admin/activity/dict/getHnReward`,
    method:'post'
  })
}
